* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    background: wheat no-repeat;
    background-size: cover;
}
#pause{
    display:none;
}
.btnbox p{
    margin: 0 auto;
}  

.btnbox {
    width: 200px;
    height: 400px;
    /* background-color: orange; */
    display: flex;
    
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    /* top: 50%;
    transform: translateY(-50%); */
    /* bottom: -450px;
    left: 350px;*/
} 

.btnbox button {
    margin: 0 auto;
    width: 100px;
    height: 40px;
    font-size: 23px;
    background: orange;
    border: #08cdf0 1px solid;
    color: white;
    border-radius: 30%;

}

.btnbox button:hover {
    transition: ease 1.2s;
    background: black;

}

.btnbox button:hover::after {
    background: gray;
    transform: scale(0.8);
}


.map {
    box-sizing: border-box;
    background: -webkit-linear-gradient(top, transparent 20px, gray 0), -webkit-linear-gradient(left, transparent 20px, gray 0);
    background-size: 21px 21px;
    width: 1050px;
    height: 630px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    box-shadow: 0 0 100px black inset, 0 0 30px white;
    background-color: black;
}

.map>div {
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 10px yellow;
}

div.head {
    /* background: radial-gradient(#ecf804, #ff0000); */
    background-color: #dc0f50;
}

div.body {
    /* background: radial-gradient(#12d2e4, #ff4e00); */
    background-color: #efeeee;

}

div.food {
    background: radial-gradient(#08cdf0, #dc0fb6);
    animation: footAnimate 1s linear infinite;
}

div.food{background: radial-gradient(#dd08f0, #dc0f50);

}



@keyframes footAnimate {
    0% {
        box-shadow: 0 0 10px white;
    }

    50% {
        box-shadow: 0 0 100px white;
    }

    100% {
        box-shadow: 0 0 10px white;
    }
}
.score{
    font-size: 25px;
    color: white;
}
.score span{
    color: red;
    font-weight: bold;
    
}
.panbg{ 
    width:420px; 
    height:200px; 
    background: rgba(0,0,0,0.814) url(../img/OIP-C.png) no-repeat;
    background-size:400px; 
    background-position:center; 
    position:fixed; 
    z-index:999;
    top:0; 
    left:0; 
    right:0; 
    bottom:0; 
    margin:auto;
    display:none;
}
